-- GENERATED SPELL FOR [Irradiated Horror] --


function spell0_6220(pUnit, Event) --@Chain Burn,n/a--
pUnit:FullCastSpellOnTarget(8211,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6220', 3000, 1)
end

function Sorts_6220(pUnit, Event)
local choix_sorts_6220 = math.random(0, 0)
if choix_sorts_6220 == 0 then
pUnit:RegisterEvent('spell0_6220', 1, 1)
end
end

function mob6220_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6220', math.random(1500, 3000), 1)
end

function mob6220_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6220_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6220_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6220, 1, 'mob6220_Action')
RegisterUnitEvent(6220, 2, 'mob6220_Leave')
RegisterUnitEvent(6220, 3, 'mob6220_Kill')
RegisterUnitEvent(6220, 4, 'mob6220_Die')
